import {defineStore} from "pinia"
export const useCounterStore = defineStore("count",{
    state:()=>{
        return {
            counter:10,
            msg:"aaaaa"
        }
    },
    getters:{},
    actions:{
        addCount(){
            this.counter++
        },
        subCount(){
            this.counter--
        }
    }
})